package com.lgkj.ui;

import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.lgkj.R;

import butterknife.BindView;

/**
 * Created by Administrator on 2018/7/20 0020.
 */

public class XieYiActivity extends BaseActivity {
    @BindView(R.id.iv_xieyi)
    ImageView ivXieyi;

    @Override
    public int getLayoutId() {
        return R.layout.activity_xieyi;
    }

    @Override
    public void initView() {
        boolean isxieyi = getIntent().getBooleanExtra("xieyi", true);
        if (isxieyi) {
            setTitle("协议");
        } else {
            setTitle("关于我们");
        }
    }

    @Override
    public void initData() {

//        Glide.with(XieYiActivity.this).load(R.mipmap.xieyi).into(ivXieyi);
        Glide.with(XieYiActivity.this).load(R.mipmap.xieyi).into(ivXieyi);

    }
}
